home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / SDKs / Word Services SDK 1.0.6 / Writeswell Jr 1.2.1 Sources ƒ / Writeswell Jr. Source / headers / TBConstants.h < prev    next >
Encoding:
Text File  |  1995-09-16  |  2.5 KB  |  155 lines  |  [TEXT/MMCC]

  1. /* TBConstants.h
  2.  * Constants for use in the Testbed word processor
  3.  * ©1992 Working Software, Inc.
  4.  * This source code is copyrighted.  Permission is granted to use the Word Services
  5.  * portion of the Writeswell Jr. source code in your own programs, but you 
  6.  * may not distribute the Writeswell Jr. word-processor code as a 
  7.  * commercial product.  If you modify the code, please do not call it 
  8.  * Writeswell Jr. (or Writeswell.)  This will ensure that people understand the 
  9.  * program and don’t have to deal with a number of different versions with 
  10.  * who-knows-what going on in the code.
  11.  * 
  12.  * Writeswell Jr. and Writeswell are trademarks of Working Software, Inc.
  13.  * 18 Dec 91 Mike Crawford
  14.  */
  15.  
  16. enum {
  17.     kDocWindowID = 128                /* Resource ID of document window */
  18. };
  19.  
  20. enum {
  21.     kMBarID = 128
  22. };
  23.  
  24. enum {
  25.     kAppleMenuID = 128,
  26.     kFileMenuID,
  27.     kEditMenuID,
  28.     kFontMenuID,
  29.     kStyleMenuID,
  30.     kServMenuID,
  31.     kRegMenuID
  32. };
  33.  
  34. enum {
  35.     kAMAboutMe = 1,
  36.     kAMDash
  37. };
  38.  
  39. enum {
  40.     kFMNew = 1,
  41.     kFMOpen,
  42.     kFMClose,
  43.     kFMSave,
  44.     kFMSaveAs,
  45.     kFMDash1,
  46.     kFMPageSetup,
  47.     kFMPrint,
  48.     kFMDash2,
  49.     kFMQuit
  50. };
  51.  
  52. enum {
  53.     kEMUndo = 1,
  54.     kEMDash,
  55.     kEMCut,
  56.     kEMCopy,
  57.     kEMPaste,
  58.     kEMClear,
  59.     kEMDash2,
  60.     kEMSelectAll,
  61.     kEMDash3,
  62.     kEMOptions
  63. };
  64.  
  65. enum {
  66.     kStMPlain = 1,
  67.     kStMBold,
  68.     kStMItalic,
  69.     kStMUnderline,
  70.     kStMOutline,
  71.     kStMShadow,
  72.     kStMCondense,
  73.     kStMExtend,
  74.     kStMDash,
  75.     kStM9Point,
  76.     kStM10Point,
  77.     kStM12Point,
  78.     kStM14Point,
  79.     kStM18Point,
  80.     kStM24Point,
  81.     kStM48Point,
  82.     kStM72Point,
  83.     kStMDash2,
  84.     kStMOtherPoint
  85. };
  86.  
  87. enum {
  88.     kRMAboutMe = 1,
  89.     kRMRegister
  90. };
  91.  
  92. #ifdef NEVER            /* These will return in a future version */
  93. enum {
  94.     kSMCheckSel = 1,
  95.     kSMNewBatch,
  96.     kSMNewInteractive,
  97.     kSMRemoveService,
  98.     kSMCheckWord,
  99.     kSMStopIntCheck,
  100.     kSMDash
  101. };
  102. #endif
  103.  
  104. enum {
  105.     kSMNewBatch = 1,
  106.     kSMRemoveService,
  107.     kSMDash
  108. };
  109.  
  110. enum {
  111.     kAboutMeID = 129            /* About TestBed resource ID */
  112. };
  113.  
  114. enum {
  115.     kCustomSizeID = 130
  116. };
  117.  
  118. enum {
  119.     kCSOK = 1,
  120.     kCSCancel,
  121.     kCSDefUser,
  122.     kCSPrompt,
  123.     kCSEntryField
  124. };
  125.  
  126. enum {
  127.     kVertScrollBarID = 1000        /* Vertical document window scroll bar */
  128. };
  129.  
  130. #define kMiscStringID    128        /* STR# prefs file name and such */
  131.  
  132. enum {
  133.     kPreferencesFileNameStr    = 1    /* Name of preferences file */
  134. };
  135.  
  136. #define kMaxServices 16
  137.  
  138. #define rAskSaveID 133
  139.  
  140. #define rStyleID    128
  141.  
  142. enum {
  143.     kASSave = 1,
  144.     kASDontSave,
  145.     kASPromptText,
  146.     kASCancel
  147. };
  148.  
  149. #define rPrintRecID    128            /* Print record resource ID in the preferences file */
  150.  
  151. #define rVersID        1            /* Resource ID of 'vers' Resource */
  152. #define kAVersItem    2            /* User item for displaying version number */
  153.  
  154. #define kTextInset    4            /* Inset of text field from window edge */
  155.